import { IPSAppMenuItem } from '../../control/menu/ipsapp-menu-item';
import { IPSModelObject } from '../../ipsmodel-object';

/**
 *
 * @export
 * @interface IPSAppMenuModel
 */
export interface IPSAppMenuModel extends IPSModelObject {
  /**
   * 代码标识
   * @type {string}
   */
  codeName: string;

  /**
   * 菜单项集合
   *
   * @type {IPSAppMenuItem[]}
   */
  getPSAppMenuItems(): IPSAppMenuItem[] | null;

  findPSAppMenuItem(objKey: any): IPSAppMenuItem | null;
}
